from langserve import RemoteRunnable


if __name__ == "__main__":
    client = RemoteRunnable("http://127.0.0.1:8000/chain")
    print(client.invoke({"role": "育儿专家", "text": "大宝与小宝总是打架，她们相差两岁,她们一个2岁半，另一个10个月大"}))

